package com.yeyks.common.appcommon.dto.room;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: dagny
 * @date: 2019/11/6 0006 10:19
 */
@Data
@ApiModel("返回房态的对象信息")
public class AppRoomCalendarJipDTO implements Serializable {

    private static final long serialVersionUID = -3598082908271589552L;

    @ApiModelProperty(value = "房态主键ID，修改时需要传输")
    private Long id;

    @ApiModelProperty(value = "精选酒店ID")
    private Integer hotelId;

    @ApiModelProperty(value = "精选房间ID")
    private Integer roomId;

    @ApiModelProperty(value = "房源日期yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    @ApiModelProperty(value = "公司拿房价")
    private Integer purcPrice;

    @ApiModelProperty(value = "销售价")
    private Integer salePrice;

    @ApiModelProperty(value = "每天可订房数")
    private Integer count;

    @ApiModelProperty(value = "默认1，0:不可用  1：可用")
    private Integer status;

}
